package fr.univavignon.m1informatique.rgla.pki;

import fr.univavignon.m1informatique.rgla.pki.types.Certificate;
import fr.univavignon.m1informatique.rgla.pki.types.CertificateRenewalRequest;
import fr.univavignon.m1informatique.rgla.pki.types.CertificateRevocationRequest;
import fr.univavignon.m1informatique.rgla.pki.types.CertificateSigningRequest;

public interface IRegistrationAuthority extends IEndEntity{
	Certificate signCertificate(CertificateSigningRequest certificateSigningRequest)throws PKIException;
	Certificate renewCertificate(CertificateRenewalRequest certificateRenewalRequest)throws PKIException;
	void revokeCertificate(CertificateRevocationRequest certificateRevocationRequest)throws PKIException;
}
